package com.gimi.cloud.jimi.app.consumer.service.order;

import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Created by shazhiwei on 2018/1/9.
 */
public interface OrderService {
    /** 下单 */
    void addOrder(@RequestBody String requestBody, HttpServletResponse response, HttpServletRequest request) throws Exception;

    /** 保存订单前验证数据有效期 */
    void getDataStatus(@RequestBody String requestBody, HttpServletResponse response, HttpServletRequest request) throws Exception;

    /** 获取订单列表 */
    void getOrderList(@RequestBody String requestBody, HttpServletResponse response, HttpServletRequest request) throws Exception;

    /** 订单详情 */
    void getOrderDetail(@RequestBody String requestBody, HttpServletResponse response, HttpServletRequest request) throws Exception;

    /** 租赁订单-租费账期 */
    void getReplantDetail(@RequestBody String requestBody, HttpServletResponse response, HttpServletRequest request) throws Exception;
}
